<table id="laboratories" class="grid" cellspacing="0" cellpadding="0"> 
    <thead>
        <tr>
            <th width="120" align="center" class='first'>{translate}Test name{/translate}</th>
            <th width="240" align="center">{translate}Result{/translate}</th>
            <th width="100" align="center">{translate}Dr/Technician updated{/translate}</th>
            <th width="90" align="center" class='last'>{translate}Date updated{/translate}</th>
        </tr>
    </thead>
    <tbody>
    {if !empty($laboratoryItems)}
        {foreach from=$laboratoryItems item=labItem}
        <tr>       
            <td class='first'>{$labItem.lab_name}</td>   
            <td>{$labItem.description}</td>
            <td>{$labItem.doctor_name}</td>
            <td class='last'>{$labItem.updated}</td>
        </tr>
        {/foreach}
    {else}
        <tr id='noresult'>    
            <td class='first last' colspan='4'>{translate}There is no test and clinical examination information{/translate}</td>
        </tr>
    {/if}
    </tbody>
</table>